<%-- 
    Document   : contact
    Created on : Jun 27, 2013, 5:17:44 PM
    Author     : Anna SAELEE
--%>

<%@page import="java.util.Date"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link type="text/css" rel="stylesheet" href="style.css"/>
        <title>Contactez Nous</title>
    </head>
    <body>
        <div class="wrapper">
            <div class="header"></div>
            <div class="navigator"> <a href="#">MENU</a> > <a href="#">SUBMENU</a> 30*1000 </div>
            <div class="workspace">
                <%@include file="connect.jsp" %>
                <div class="workspace2">
                    <h3>Contactez avec Admin</h3><br/>
                    Pour nous contacter, Complétez la forme ci-dessous s'il vous plaît.<br/><br/>
                    <form name="contact" action="EmailSendingServlet" method="post">
                        <input type="hidden" name="typeMss" value="contact" />
                        <table border="0" width="100%">
                            <tr>
                                <th>Date:</th>
                                    <% String username = (String) session.getAttribute("username");
                                        SimpleDateFormat SimpleDate = new SimpleDateFormat("yyyy-MM-dd");
                                        Date now = new Date();
                                        String date = SimpleDate.format(now);%>
                                <td>
                                    <input type="hidden" name="date" value="<%=date%>" /><%=date%>
                                </td>
                            </tr>
                            <tr>
                                <th>Votre Nom: </th>
                                <td><input type="text" name="name" size="50"/></td>
                            </tr>
                            <tr>
                                <th>Votre Courriel: </th>
                                <td><input type="text" name="email" size="50"/></td>
                            </tr>
                            <tr>
                                <th>Sujet: </th>
                                <td><input type="text" name="subject" size="50"/></td>
                            </tr>
                            <tr>
                                <th>Message: </th>
                                <td><textarea name="message" rows="20" cols="50"></textarea></td>
                            </tr>
                            <tr style="text-align: center">
                                <td colspan="2"><input type="submit" value="Envoyer le message" name="sendMss" /></td>
                            </tr>
                        </table>
                    </form>
                </div>
                <%@include file="sidespace.jsp" %>
            </div>
            <div class="footer"> FOOTER 80*1000 </div>
        </div>
    </body>
</html>
